package com.viviet.mobileservices.dao;

import java.util.List;

import com.viviet.mobileservices.dao.entity.VMCustomer;

public interface IVMCustomerDAO {
	public void save(VMCustomer transientInstance);
	public void delete(VMCustomer persistentInstance);
	public VMCustomer findById(java.lang.String id);
	public List findByProperty(String propertyName, Object value);
	public List findByEmail(String email);
	public VMCustomer findByLoginId(Object loginId);
	public List findAll();
	public VMCustomer merge(VMCustomer detachedInstance) ;
	public void attachDirty(VMCustomer instance) ;
	public void attachClean(VMCustomer instance) ;
	VMCustomer findByCustomerId(String id);
}
